package com.softdev.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.softdev.pojo.Module;
import com.softdev.pojo.Skill;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Set;

@Data
public class ProjectResultDto implements Serializable {

    private static final long serialVersionUID = 7078900761639630195L;

    private Long id;

    private String name;

    private int type;

    private String background;

    private Set<Skill> Skills;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime beginTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime finishTime;

    private int status;

    private String stages;

    private int cur;

    private Set<Module> modules;

}
